package library.book;

public class BookList {
    private int booksize;
    private Book[] books=new Book[10];

    public BookList() {
        books[0]=new Book("1",11,"111","1111");
        books[1]=new Book("2",22,"222","2222");
        books[2]=new Book("3",33,"333","3333");
        this.booksize=3;
    }
    public Book[] getbooks() {
        return books;
    }
    public void setbook(int pos,Book book) {
        books[pos]=book;
    }

    public int getBooksize() {
        return booksize;
    }

    public void setBooksize(int booksize) {
        this.booksize = booksize;
    }
}
